improve orangee.render_template