fixed a search/replace error