fix method call
don't use deprecated methods internally
Merge pull request #62 from mikey179/master

fix method call / don't use deprecated methods internally