fix to badly formed callback

Addition to this PR: https://github.com/bolt/bolt/pull/2126
Mainly needed because it didn't work.