bug fix to "evaluate"