arrange the args and warn logging