fix command initialization.