fix dump I/O caused by ZYX->XYZ change