core/function: more correct builtins processing