fix subCommand
Merge pull request #270 from zhiyelee/fix-subCommand

Fix the reported bug about sub command in #227