remove unknown string states from all the messages