removing outdated attributes