bugfix: do not pass argument to func_num_args()