try to fix duplicate console output
Merge pull request #91 from rayshih/master

Issue #90, try to fix duplicate console output