fixed the GC problem with cached symbols
added the apply builtin function