small bug fix in url parsing