checkpoint: fixed crash for setting date.