fix attributes import