Use safeEval for attributes