fix missing grains if not loaded