Remove Prima optimisation errors