fixed Board.cpp errors