now really fix the not resetting issue