small fix to index