fixed the time in state reset bug