Fixed user indexing error