fix wrt to cmaes API