fixed https problems