Fixed no loops problem.