bug fix when anomaly_detection_metrics is not specified in config