remove misc stuff from anagram