fix double attribute