I think this fixes the index