fixed minor issue with https not beeing set by..