Pre-treatment of the joining surfaces