caught index error