cleaning up old attributes