miscellaneous fixes in UnitPatternXYZ classes

see issue #85