Help with electrical problem

For some reason, my high beam & oil warning lights are not working.

I wired up some after market warning lights that worked okay, but the wiring was too long. After I shortened them, (same connections as before) the neutral, indicator & oil lights worked but the high beam didn’t. Took the sub-loom off to check the connections and put it back on.

When I turned on the ignition, I noticed a small puff of smoke come from under the left side of the fuel tank, so immediately turned the ignition off. Tried again, no puff of smoke but no oil warning light either now (as well as no high beam)

I have checked the fuses and they are okay but am worried about where the smoke came from - I can’t see any burnt wiring, even on the oil pressure switch connection so assume that it must be something in the main loom.

Can anyone offer any advise before I dig any deeper??

Thanks