remove edx references