Fixes index.