adjust UR url and query string