Fix metrics shell output.