fixing the html and adding lines info