fixed bugs in SiteReset module