minor index error