fixed proxyNativeLayer invocation