made the count 0 after restart