fixed the optimiser spec