rm uneeded inherits