bug fix (see https://dev.guardianproject.info/issues/2496)