updated doClean text.replace