remove references to global pairs