fix non local webserver issues