title changes when query changes