cmdline flag config fixes