fix metasearch syntax error