fix translate array to string conversion