fix bug NFCFramework = null @ runtime