fix up textgen