text replace mishap correction (final)