Treatment of the surface of the substrate by high temperatures or pickling to improve photoresist adhesion.