fix saving of extended profile attributes