fixes to index