input file errors, now with less defects!