https fixes