add deactivate
Merge pull request #1765 from devoncarew/devoncarew_deactivate

add deactivate