fix metric_archive