Fixed typo in deactivate