ensure callback is a string
Merge pull request #595 from modilabs/callback-592

Callback 592