fixed auto-cropping problems. refs #30