fixed events errors
missed a duration from the last commit.
The csv files now only contain non-zero metric data.