rescue EOF