trying to fix timeout error