Fixed typo with render_* function