bug fixing on 3D