Merge pull request #560 from leonindy/master

fix a bug when finding appropriate id and there is no app activity command
Merge branch 'master' of https://github.com/dianping/cat