crop validation