Correct bad-code entry