fixed cropping problem