Just swap the black cables (and if the PC brigades reading)the off white cables about until it doesnt go bang anymore.You should have 3 reds connected together and 2 x blacks with the blue flex and 1 x black with the brown flex.