improvements in Url class