[BUGFIX] addToAllTCAtypes() must replace fields correctly