user agents, bugs in query