possible fix for #119
fix for #119
fixes for enrichment on 32 bit machines.