remove some occurence of Gc\Registry