added sum by some departments and fixes to garbage data