minor fixes index