fixed a bug in ring chart