fixed 3d issue