reverted ids to indexing method