fixing reverse proxy