fix geometry