local inheritence fix