Fixed the renderer