fixed issue regarding to codes
Merge pull request #355 from safiyu/activities

fixed issue #326 regarding to codes