fix array convetion