Fixed bug during ring adding