index alias bug fix