Fixed another reset bug.