fixed parsing of card names