moving symbol export logic to externExpression