corrections for slightly different input files