fixed naming of states