fix appid pattern.
Merge pull request #184 from ChenShuang/fix-bugs

fix appid pattern.