when loading from xml, make sure there are no duplicated elements. if there are, load only fist value, and warn about it. better example