fixed HTTPS issue