fixed reset function..