fixes #3742

https://dev.guardianproject.info/issues/3742