fix command line errors.