Bad arguments to select list item ["<!doctype"], [1]

I suggest you abandon the approach you are using, and try this:

or work with the native Spreadsheet component in AI2