fixes a render_plugin bug