mnas: more error checking