code to fix card name at posteriori