reverse proxy fix, fix check