bug on deactivation reactivation sequence