Event fix for render_content