Correct way of joining paths