Replace bad URLs