Fix metric type