fix get url params if # is not in query string