fixing url to correct host