user index bug fix