fix find/replace error