fix the pipes
fix the reading-pipe at last
pipes again
fix some format