fixed functionality of settlements