Fix bug on Line sharing