fixed error happening with no parameter file given