Rope Intranet naive solution
fix EOF detection