commit some minor tweaks to cropping code