fix callback assignment
Merge pull request #112 from Medium/giannic-wat

fix callback assignment