added function to remove symbols from text