bug fix, command line params