Fixed Reset Function