fixed issue in settings iterator