fix crop warning