should fix array to string conversion