fixing callback args to conform to latest api
Merge pull request #2 from jedverity/master

Callback args fix