fix for count reset on Reset()