Rule reminder
Pronouns with stare + gerundio: place the pronoun BEFORE stare (Lo sto scrivendo) OR attach it to the gerundio (Sto scrivendolo). Both are correct. Never insert the pronoun between stare and the gerundio.
Dov'è la lettera? … adesso. (io / scrivere / la — pronoun before stare)