fixed move_trains
working in irb