upgrade to unnotifydetach