Try using deactivate function