Fixed bug with str:join function