fix inheritance strategy