small debug following to ed is undefined resolution