fix smartCrop https