fixing inherits