fix: passing args between funcs