- correct bug in calculate erased time