enable search with query