bug fix: when catch the file between start and end of the circle, the logic falls into an infinite loop