Fix metric output.