fixed "?" problem in urls