Fix bug for array handling when prepared
Merge pull request #35 from skykiker/bugfix1

Fix bug for array handling when prepared