fixed stuff
added cmdline -g