fixing fevals and cevals evaluations