updated nfc detection and fail