fixed search field when query is None