fixed search/replace error