fix metasearch