fixed https typo and coding