replacing symbols with strings