how to remove unwanted characters in a data frame