fixed some format issues with the cards table