fixed python 3 join issue