fix reverse proxy