chkpointing with some errors