move read erro rto end
move read stderr to end