bugs fixed at ZArray