fix callback stack mishandling