Fixed error with clearing board.