Fix 3d array. Somehow this got dropped in history.