fixed silly bug with not finishing the line