Strip extra space in the output of the metric value assignement