Wrong processing of command line parameters