fixed enrichment bug