stylefix III, removed some smells
seems to need hasChildren with 5.4