(#175) - fix promisedCallback

as discussed on IRC with @calvinmetcalf.