modify the function so that does not show 0, when two or more lines are drawn.