Removing stdin check