auto-fill query into search bar