cleaning error condition from CMTK output