fix URI encoding for search engine queries