instead of… -ing

After instead of, we can use a noun or an -ing form, but not an infinitive.

    Would you like to take a taxi instead of a bus?
    Would you like to take a taxi instead of going by bus?
    (NOT . . . instead to go by bus.)