fix text renderer