fix repeating symbols