reverse-proxy hack fix