remove question mark from query string