command line flags fixed