fix command type