TroubleShooting the evaluateExpression function