fixing a lingering bug on reading the new data array layout.  seems to be working well now