geometry fix