3D library fix