ndloop_get_arg_type is ineffective