fix early end of comments; remove duplicate linenums