fixed line overlapping point inside if