index items: syntax error, unexpected $end, expecting TOK_INT near ''