api load/index fix