changed how i deal with dodgy urls