pass arguments into funcrefs properly.