Fix https warnings