fixed infinite loop

Change-Id: I55a3025ee77e35d0bd629ee782a0e0ec7928732f