fixed finding circularity