fix typos and add missing deactivate decorator