fix timeout problem