fix callback check eror