fixed 3d build