fix bad-input after nl handling change