Fix stdin handling