fix the counter during backup
close #209