Cleaning up bad urls