fixes type error on callback
Merge pull request #2 from jeremytregunna/master

Fixes type error on callback