fix https image loading