String join bug fix