a few fixes to the census feature