fixed problem with line