lepra https fixes