small change to clicking query box