resolving destroy errors with features