fixed assertion error with cropper stack