Corrected some errors on the board class