fixed araqne/logpresso.com#61. fixed removeQuery() fail bug