fix attributes kludge