fix time out reseting