inheritance cleanup