minor tweek to index