fixing divergence in index