fixed bug
Merge pull request #4 from CalvinFernandez/callbackbug

callback bug fix