minor fixes to reset