In the CTF3 (CLIC test facility 3) run of November 2007, a vertical beam instability has been found in the combiner ring during operation. After a careful analysis, the source of the instability has been identified in the vertical deflecting modes trapped in the rf deflectors and excited by the beam passage. A dedicated tracking code that includes the induced transverse wakefield and the multibunch multipassage effects has been written and the results of the beam dynamics analysis are presented in the paper. The mechanism of the instability was similar to the beam breakup in a linear accelerator or in an energy recovery linac. The results of the code allowed identifying the main key parameters driving such instability and allowed finding the main knobs to mitigate it. To completely suppress such beam instability, two new rf deflectors have been designed, constructed, and installed in the ring. In the new structures the frequency separation between the vertical and horizontal deflecting modes has been increased, changing the position of the rods inside the cells, and special antennas have been inserted to absorb the power released by the beam to the modes. The deflectors have been made in aluminum to reduce the costs and delivery time and have been successfully tested and installed in the ring. The design, the realization procedures, and the rf test results are illustrated.