fix can deactivate