fix command flags