fixed array to string issue