Fixed https issues