test prevent infinity loop fix build fail