fix predefinedMoves