fixed issue with query strings mucking up locating pages