remove extra command line options