fixing duplicate deactivate