remove unused code and console message
Merge pull request #15 from coderhaoxin/fix

remove unused code and console message