changed renderChildren to renderViews