fix overzealous search an replace