fixed addr error when using callback