fix compilation error
moved to continuation callbacks
switched to callback continuations