fixed the issue of reset processing