fix textgen (duplicate var name in generated code in case many collections are added)
rebuild textgens