remove redundant ? character in url query part