fix http/https warning