Use correct function for joining array into string