It is very important to keep battery conductors clean, specially when ebike is used in a dust or dirt. Particles between battery and battery bracket conductors may cause loose connectivity, sparking resulted in melting plastic parts.
How to clean?

1- Blowing air if you have an air compressor

2- Paint or tooth brush

3- Quick drying contact cleaner sprays