changed cropping logic