improve the index