Control gate layer used for the peripheral transistor