minor reset bug