fix render to point to text proeprly