made serveral changes to LoadFromArrayValidator