fixed bug - 3D