fixes the callback check