read stdin instead of error