fix callback check error