implemented issue https://github.com/globaleaks/GlobaLeaks/issues/319