fix against https://github.com/globaleaks/GlobaLeaks/issues/498