Added some NFC error checking