State codes dictionary fixed