change in render_textrect