fix datap, metadata and data3d confusions