fix cardRegistration