# \[BUG-446\] runPrepQuery no longer returning Dataset from Script Transform as of 8.0.16

**URL:** <https://forum.inductiveautomation.com/t/bug-446-runprepquery-no-longer-returning-dataset-from-script-transform-as-of-8-0-16/38560>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [September 10, 2020, 4:05pm UTC](https://forum.inductiveautomation.com/t/bug-446-runprepquery-no-longer-returning-dataset-from-script-transform-as-of-8-0-16/38560 "2020-09-10T16:05:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [September 10, 2020, 4:05pm UTC](https://forum.inductiveautomation.com/t/bug-446-runprepquery-no-longer-returning-dataset-from-script-transform-as-of-8-0-16/38560/1 "2020-09-10T16:05:07Z")

</div>

It seems like since upgrading to 8.0.16 `runPrepQuery` no longer returns a dataset to a perspective table (when used in a transform binding). It now returns the following format:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/3/d35a831745d4b8310f69e097dfc0d71ac91358aa.png)

I don’t really have an issue with it returning an object, but shouldn’t it return an Array of Objects, that way it could have the column names bundled in with the data? Something like this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/d/3da678c2a97d8988f8d2fd54a82f063f55bc69cf.png)

I need to first cast it as a `BasicDataset` for it to have the same functionality as before upgrading to 8.0.16

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 24, 2020, 9:02pm UTC](https://forum.inductiveautomation.com/t/bug-446-runprepquery-no-longer-returning-dataset-from-script-transform-as-of-8-0-16/38560/2 "2020-09-24T21:02:29Z")

</div>

This is a regression fixed for 8.1.0.
