bug fix

fixing bug when running without -f param