fix attributes spec