fixed an issue where input.FuncArgs() was always empty