made mandatory fields and fixed some maxOccurs=unbounded bits