Fixed https errors