some fixes to the command line args