bugs fixed in unmapsegment.um