TextGen fixes with indentation working