fix up api index