fix for scope_deduction_named_shared_ptr