initialize Cmdline correctly in constructor