fix user index bug