fix command array