remove punctuation from password to avoid backslashes