Fix the issue of Smart_Ptr