Modify the segmentation fault for connecting HDP