fix card reset