territories fix