hopefully fix standalone index generation