improvement for tex gc