fix bug "pipeN with stdin"
fix bug