fixed problem with render_tags