refactor local_args for render func