remove query string when reporting location