fix bug in reset due to typo