fix comment in reset function