fix reference to card