fixed total number of trios error