Fixed issue with http vs. https