Fix check() checkpoint callback