fix bug

fix callback const.