fixes rounding for metrics calcs