Fix bug tool Line