fixed 'no input file specified' error