FIX: (potential) bug in destructor of report.generic