func def bugfix when varargs & kwargs are used