removing \n from proxy