fixed z_at[] cache getting out of synch on load