fixing timeout setup