fixed deprecated warning: #20
Merge pull request #21 from kgn/master

fixed deprecated warning: #20