fixed possibleMoves error