Near death experience

Yesterday I was busy building a bootselector with a 74ls241, when ready I checked for short circuits, everything looks good.
But when powering the Amiga some smoke appeared from her…
I double checked the circuit, but couldn’t find any error..
I removed the 74ls241 from the schematics and used a 4 wire cable to connect the switch.
I wanted to use the 74ls241 to avoid having big cables running through her.
I tested the bootselector and it worked.