fix string join bug