remove the invalid geometrys from proccesed_p