use smartx cardnumber if exists, cleanup