Bug in which settlement is added