cardnum bug fixed