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