fix cumulative metrics