fix callback code missing issue