get rid of old attributes cruft