Fix search n replace error