Sure hope you used a maxi fuse holder and fuse for your 40 amp fuse.
the 30 amp fuse holders for the smaller fuses fail over time, the 40 amp small blade fuse holders definitely do not hold up over time, seen to many connection problems and melted fuses with those, a maxi fuse fixes that problem