adding query info to title