Small changes to reset