fixed string join bug