Language:
Free Online Dictionary|3Dict

聞過即改

Source : CEDICT

to correct one's mistake as soon as it is pointed out (idiom)