get shared ptr from static using null_deleter
fix