removes name references