remove refrences