3d fixups