fix bug

get parser of invalid index