pivot table corrected