another inputfile bug fix