fixed the clearBoard to actually reset the board