smaill fix in addTraining