fixed geom error and otherrandom stuff