normalize state names across platforms