return kernel in set_arg