fixes upload cropping