bugfix for training conditions