moved compareSettings into dataSet to fix refreshRoot bug