fixed cmaes with the new framework now is working