fix UUnitNum class definition