fix smartCrop