catch reverse index error