modify nargs handling in WildFunction