fix against https://github.com/globaleaks/Tor2web-3.0/issues/166