fixes refrences