cert_code miss last char