index api fixed