fixing adding domain on domainless urls