Which of the following factors affect the fidelity of $DNA$ polymerase in polymerase chain reaction?

1. $Mg^{2+}$ concentration
2. $pH$
3. Annealing temperature
1. $P$ and $Q$ only
2. $P$ and $R$ only
3. $Q$ and $R$ only
4. $P, Q$ and $R$