Minor bugfix inputfile