partial Revert "fix bad-input after nl handling change"

accidentally changed top level calls

This reverts commit 9d39b21efd505e37a6d59dc688152c4d99125263.