Fix bugs, use https