xml model prototyper fix