Fixed overall msg stats

fixed a small error in stat calculation