Fix beautiful url when url query string begin with ?&