fix attributes