grains fixes