this fixes /gorhill/httpswitchboard/issues/381