fix typo, is activate
split code