main | fix timeout issue