fixed evaluation measures function