fixed reset error