[#6] Fixed bugs with join() usage.