remove not existing inherits