Corrects the valid module characters.