remove "~" symbol