compatibility changes

Mostly compatibility changes the make the css for the parent-child relation work smoother.