changed errors found with arrays in report switch for act sub traf
started to look into what data is in array flag and array