[#74771762] fix infinite looping