Fixing line_in and a few typos