Fix index export.