add checking to length of card name

as the topic says
much better!!