Fix cycle condition Function.
0.0.18