fix the segmentation fault issue for "disk smart drv=xx"