handling queries without selector
handling queries without selector