fixed auto-indexes