fixed ALLOW_SHARED_PTR_ONLY_CREATION