fix attributes table