How to prevent leakage of solar controller