Trying to fix user index bug