fix crash on edit counters
add backup fealture