fix timeout factor bug