small fix at timeout