fixing and adding https