tweaks to remove special chars for salt