fix bug setting metric value