fixing text renderer