mnc: handle empty input lines