remove inherits