fixed the last reset