# KeyError : QED error in NLO calculation

Dear Olivier

I'm trying to calculate NLO corrections in Vprime model from feynrules which we just added NP flag for the new vertices. I'm trying to get the NLO corrections with MG5 v3. So I'm trying to get only QCD corrections without the NP corrections where im generating as follows

>generate p p > j j / wp+ wp- NP^2<=2 QCD=0 [QCD]

with NP<=2; I'm getting NP^2=4 corrections which I dont want, thats why I set NP^2<=2 but now I'm getting the following (I get same error when I set QED=0)

>INFO: Generating FKS-subtracted matrix elements for born process: g g > g g [ all = NP QED QCD ] NP^2<=2 QCD^2=200 / wp+ wp+ (1 / 200)

>INFO: Generating FKS-subtracted matrix elements for born process: g g > u u~ [ all = NP QED QCD ] NP^2<=2 QCD^2=200 / wp+ wp+ (2 / 200)

>Command "generate p p > j j / wp+ wp- NP^2<=2 QCD=0 [QCD]" interrupted with error:

>KeyError : 'QED'

>Please report this bug on https:/

>More information is found in 'MG5_debug'.

>Please attach this file to your report.

Note that this does not happen when I set NP=2, I get all the diagrams without a problem. Is there a way to solve this? Or can you tell me the correct command to achieve this?

MG5 v3_0_3

(I can't get rid of these corrections in v2.7.3 which ends up not canceling poles thats why im using v3. When I generate the process the same way in v2.7 it cant find any amplitudes.)

Thanks

## Question information

- Language:
- English Edit question

- Status:
- Answered

- Assignee:
- marco zaro Edit question

- Last query:

- Last reply:

## Can you help with this problem?

Provide an answer of your own, or ask Jack Y. Araz for more information if necessary.