new code to fix harvested grain.