Correlative items must balance identically: pair Gerund with Gerund, Infinitive with Infinitive, and Noun with Noun.
Check what immediately follows 'not only' and match it after 'but also'!