isNative flag fix