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