changed type for some fields so that we can do faceting