search keyword encoding fix