fix callback problem