refactor AliasIndex