properly destroy child class when superclass is destroyed
version bump