remove needs of CORS for search queries