bug fix for rendering