removed deprecated code
fix missing  in CommonMidpointGather