small fixes to index