Fixed printing the line properly