diff --git a/tpl/macro.twig b/tpl/macro.twig
index 87f4faa..bb8bbe0 100644
--- a/tpl/macro.twig
+++ b/tpl/macro.twig
@@ -513,7 +513,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack
       cl.Define(vs);
     }
     {
-        var fn = new FuncSymbolNative("At", types.T("{{token(o, 'bhl_native_arr_proxy').name}}"),
+        var fn = new FuncSymbolNative("At", {{token(o, 'bhl_native_arr_proxy')|bhl_type_ref}},
         delegate(VM.Frame frm, ValStack stack, FuncArgsInfo args_info, ref BHS status)
         {
 #if !BHL_FRONT