added traverseExpression to attr