Fixing and adding lines