Fixed a wrong parameter in the evaluation function