fixed checkpointId in modescriptcallbacks