fixed bug where the cardname was case-sensitive