remove delete() from NativeEnv