deal with nulls in state list