fix timeout length