https preferences fix