fixed the reset bug