Repair STDIN error