fix SwapInterface callbacks