fixed ordering of moves