Fix word replacing.