fixed outportdata in 3D