How to solve the problem of capacitor flattening