fix broken API index