fixed reset time bug