fix boardSize set