gras: fixed wrong integer type for item index