command line settings cleanup