Fix serialization IO
Fix Pipe rewind