fixed some issues with the inheritance of child objects