added update to strip query string