fixed a bug where after each action the robot whent to the referee