fixed CSV headers
fixed summary amount calculation