valve cover bolts to short

Well this trip to the part store did not go well today lol i got the bolts spent time painting the bolts and washers only come to find that bolt has a shoulder on them .Sure felt tight but the washer would spin that tell me it going to leak.