Fix deprecation warning
Merge pull request #1 from wesleylancel/master

Fix deprecation warning