Fix search and replace error.