error handling when nabc-lines is not set in the header