fixed error - timeout object has no attribute value