channels/smartcard: cleanup of sanitization