clean geom.c