handle issues with bizarre urls