clear if query is "clear"