fixed findlines call