changed behavoir if query is not found