minor fixes to index