Possible fix for infinite loop