cropping and input checks work now.