test prevent infinity loop 2