fixed reset issue