Counter reset fixed