some quick tweaks to the index stuff