fix auto text replacement