replacing colons in the state name

probably better to do a `word = word.replace(":", "_")` instead of using the re module here.