correct an error of mod_card