fix 死循环