backport fix for injectCallback
Merge pull request #35 from configit/fix-injectCallback

backport fix for injectCallback