some 3D improvments