command line parameters bug fixed