removed trailing whitespaces from card names