fix picture cropping