Fix for HTTPS version