fixed search issues (not escaping url params)