fix CPDI2 3D bug