fixed the rendering of the board