use output box name for the keyname
epxlicit error checking in train because errors are masked by pipes