finally fixed all bugs in trainingStatus (I think)