Fix for check callback return code