Pre-treatment of the layer connector or the bonding area