removed index from refrences