possibly fixed error with timeout