If you have not cleaned the logic board doing so may help. Otherwise you have some damaged parts to replace. BTW just because it's currently working, it may not continue to do so. Corrosion over time can damage parts and the logic board if not cleaned properly.
If this Answer is helpful please remember to return and mark it Accepted.