fix to rare richness input problem