diff --git a/php/classes/VOTableMgr.php b/php/classes/VOTableMgr.php
index 509723e..eeb6103 100644
--- a/php/classes/VOTableMgr.php
+++ b/php/classes/VOTableMgr.php
@@ -274,7 +274,7 @@ class VOTableMgr {
 		}
 		while($this->c < strlen($this->stream)) {
 			$col_id = $n_value % $nb_columns;
-			$field_node = $fields[$col_id];
+			$field_node = $fields->item($col_id);
 
 			if($col_id == 0) {
 				$row = Array();
--
libgit2 0.21.2