cleaning up dictionary of known words