fix activate
Merge pull request #447 from Shadowss/patch-110

fix activate