# \[BUG-446\] 8.0.16 - Dataset is automatically converted to an array when binding

**URL:** <https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211>\
**Category:** Ignition\
**Created:** [August 31, 2020, 2:48pm UTC](https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211 "2020-08-31T14:48:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [August 31, 2020, 2:48pm UTC](https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211/1 "2020-08-31T14:48:27Z")

</div>

Hi!

After upgrading to 8.0.16, I am getting an error because a dataset property binding is now being converted to an array.

I solved my problem, but I don’t think it should be happening

```auto
	query = """
			SELECT C.competencia, AVG(RA.nota) AS media
			FROM resultadoAvaliacao RA
			INNER JOIN competencia C ON C.idCompetencia = RA.idCompetencia
			INNER JOIN avaliador AR ON AR.idAvaliador = RA.idAvaliador
			INNER JOIN avaliacao AO ON AO.idAvaliacao = AR.idAvaliacao
			WHERE AO.idAvaliacao = ?
			GROUP BY RA.idCompetencia
			ORDER BY C.competencia
			"""
			
	return system.db.runPrepQuery(query, [value])

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/2/22342720ea6c5937b14cdca1c351db3072904fc6.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 31, 2020, 3:33pm UTC](https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211/2 "2020-08-31T15:33:07Z")

</div>

Are you using a nightly build or the stable release? We encountered this in early nightly builds of 8.0.16 but we worked to fix it before stable release.

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [August 31, 2020, 3:42pm UTC](https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211/3 "2020-08-31T15:42:22Z")

</div>

I am using a stable version. I downloaded it on 08/27/2020 at 15:22. Linux x64 installer

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [August 31, 2020, 4:05pm UTC](https://forum.inductiveautomation.com/t/bug-446-8-0-16-dataset-is-automatically-converted-to-an-array-when-binding/38211/4 "2020-08-31T16:05:45Z")

</div>

Actually just created a support ticket for this same thing

I am passing my dataset in a dictionary to a viewParams for an accordian.

I’m in 8.0.15 Stable
