fixed string joining issue