fixed typo in board.cpp