Trying to fix https errors