fix 3d bug

fix 3d bug