Fixed HTTPS Bug