fixed parentInheritanceError