delete invalid status such as head,  fix a bug for recovery from file. fix a bug for delete mark dirty size