fixed the numeric attribute not considered twice
m2 also work