prevent eat up stdin