Fixed bug in tactic trainer