checking unexpected fields in config