added hierarchy to pref widgets