fix all the warnings
Merge pull request #1 from yunxiyinzhe/master

fix all the warnings