remove unused args in proxy host too