optional properties/record type param fix