fixed a bug with the mover of gate goals