fixed the render greande throwing issue