fix set timeout