cleanup chessboard stuff