BUG appears on different graphics card replacement positions

A bug appears when the slot position is changed for different cards, such as RX5700 and RX590. The file name of downloading RX5700 vios is correct, but it is actually the bios file of 590. How can I solve this problem? Is there a cache problem?

These graphics cards have changed positions