Fix array ref problem
* start work on non-compliant data
* #2710
fixed porbmlems in the previous commit