correct bad urls