fixed the rendering for orphan components