removing temporary query string