refine print total cards format
ignore swp files