bugfix on commandline arguments