bug fix about timeout option