throw exception for missing states