take query params out of url