unsafe modification of Lambdas in Internalize but this make HiperfitEqCos to work