fix TeeReader path issue