fix the rendering