fix command line opt